const mixin = Behavior({
  data: {
    tabBar: [
      '/pages/index/index',
      '/pages/my/index'
    ]
  },
  methods: {
    isTabBar(url) {
      return this.data.tabBar.includes(url)
    }
  },
})

export default mixin